| OCR Xpress for Linux - User Guide > Getting Started > OCR Xpress for Linux Samples |
All code samples are located in the “samples” sub-folder of the OCRX Xpress for Linux install directory.
To compile a sample, ensure cmake/gcc/g++ are installed. Navigate to the sample folder and run the following commands from a terminal:
OCR Xpress for Linux has the following samples:
| Name | Description |
| basic | Recognizes the text in an image and outputs the result to a file. |
| igpro_integration | Uses ImageGear Professional to pre-process an input image, recognizes the text in the image using OCR Xpress for Linux, and outputs the result to a file. It is assumed that ImageGear Professional is installed. |
| memory | Recognizes the text in an image, outputs the result to an in-memory structure, and retrieves data from that structure. |
| multi-page | Recognizes the text in multiple images and outputs the results to a multi-page file. |